home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
fg
/
fgl402c
/
exc.arj
/
TEMP
/
15-04.C
< prev
next >
Wrap
Text File
|
1995-01-20
|
403b
|
27 lines
#include <fastgraf.h>
#include <stdio.h>
void main(void);
void main()
{
int i;
int freq;
int sound_array[83];
i = 0;
for (freq = 100; freq <= 500; freq+=10)
{
sound_array[i++] = freq;
sound_array[i++] = 8;
}
sound_array[i] = 0;
fg_initpm();
fg_sounds(sound_array,1);
while(fg_playing())
printf("Still playing...\n");
}